package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 查询日志对象 sys_data_log
 * 
 * @author ruoyi
 * @date 2023-12-17
 */
public class SysDataLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 访问ip */
    @Excel(name = "访问ip")
    private String ip;

    /** 请求电梯编号 */
    @Excel(name = "请求电梯编号")
    private String no;

    /** 返回数据 */
    @Excel(name = "返回数据")
    private String data;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 浏览器 */
    @Excel(name = "浏览器")
    private String brower;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBrower(String brower) 
    {
        this.brower = brower;
    }

    public String getBrower() 
    {
        return brower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("ip", getIp())
            .append("no", getNo())
            .append("data", getData())
            .append("userId", getUserId())
            .append("brower", getBrower())
            .toString();
    }
}
